package com.powerunion.datacollection.workflow;

import com.powerunion.datacollection.workflow.impl.WorkflowEngine;
import com.powerunion.datacollection.workflow.service.ITaskService;

public class EngineContext {
	
    public IWorkflowEngine getWorkflowEngine() {
        return new WorkflowEngine(this);
    } 
    /**
     * 任务服务，通过该服务启动任务
     */
    private ITaskService taskService = null;
    
	public ITaskService getTaskService() {
		return this.taskService; 
	}
	public void setTaskService(ITaskService taskService) {
		this.taskService = taskService;
	}
}
   